<template>
  <div class="bigbox">
    <div class="themeMessage">
      <div class="top">
        <div class="title">对对对对dddddddddd对对</div>
        <div class="name">用户名：懂都懂</div>
      </div>
      <div class="contain">顶顶顶顶顶顶顶</div>
    </div>
  </div>
</template>

<script>
export default {
  data () {
      return {
        message:''
      }
    },
    created () {
      this.message = this.$route.params.message
    }
}
</script>

<style lang="less" scoped>
  .bigbox{
    width: 500px;
    .themeMessage{
      display: flex;
      flex-direction: column;
      padding:0 20px;
      border-bottom: 1px solid black;
      div{
        text-align: left;
      }
      .top{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        .title{
          width:75%;
          overflow: hidden;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp: 1;
          -webkit-box-orient: vertical;
        }
        .name{
          color: rgb(126, 126, 126);
        }
      }
      .contain{
         overflow: hidden;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          line-height: 40px;
      }
    }
  }

</style>